package org.lds.message.center.client;

import lombok.RequiredArgsConstructor;
import org.lds.message.center.common.Endpoint;
import org.lds.message.center.common.model.ResultDTO;
import org.lds.message.center.common.model.request.PublicRequest;

@RequiredArgsConstructor
public class MessageCenterClient implements Endpoint {
    private final Endpoint endpoint;

    @Override
    public ResultDTO common(PublicRequest request) {
        return endpoint.common(request);
    }
}
